<?php
/**
 * FP_ProfileTab class file
 * @package FlickrPhotosets
 */

/**
 * This class is responsible for displaying the profile tab.
 * 
 * @package FlickrPhotosets
 * @author Brad Dougherty <bdougherty@gmail.com>
 * @license http://www.gnu.org/licenses/gpl.html GNU General Public License 3.0
 */
class FP_ProfileTab extends FP_Canvas {
	
	public function __construct() {
		$this->facebook = new Facebook(FACEBOOK_API_KEY, FACEBOOK_API_SECRET);
		$this->uid = $this->facebook->get_profile_user();

		// Connect to the database and get info
		$this->connect_db();
		$this->get_info();
		$this->init_flickr();
		
		$this->get_app_properties(false);
	}
	
}

?>